<!DOCTYPE html>
<!-- saved from url=(0047)http://120.77.82.93/senior/#contest/show/2820/1 -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">@charset "UTF-8";[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>
		
		<title>六边形 (Standard IO)</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="Fortuna Online Judge System Default Framework">
		<meta name="author" content="moreD">
		

		<link href="./六边形 (Standard IO)_files/bootstrap.min.css" rel="stylesheet">
		<link href="./六边形 (Standard IO)_files/bootstrap-responsive.min.css" rel="stylesheet">
		<link href="./六边形 (Standard IO)_files/style.css" rel="stylesheet">

		<script> OJTitle = "Gold Medal Online Judge System"; </script>
		<script src="./六边形 (Standard IO)_files/jquery.min.js.下载"></script>
		<script src="./六边形 (Standard IO)_files/jquery.form.js.下载"></script>
		<script src="./六边形 (Standard IO)_files/bootstrap.min.js.下载"></script>
		<script src="./六边形 (Standard IO)_files/framework.js.下载"></script>
		<script src="./六边形 (Standard IO)_files/jquery.hashchange.min.js.下载"></script>
		<script src="./六边形 (Standard IO)_files/ckeditor.js.下载"></script><style>.cke{visibility:hidden;}</style>
		<script src="./六边形 (Standard IO)_files/ckfinder.js.下载"></script>

		<script type="text/javascript" src="./六边形 (Standard IO)_files/angular.min.js.下载"></script>

				
		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
	</head>

<body onload="init_framework()">
	<div id="nav_toggle" class="well" style="padding: 2px; position:fixed; top: 35px; left:0px">
		<i id="icon_nav_toggle" class="icon-arrow-left"></i>
	</div>
	<div id="scroll_tip" class="well affix-top" style="padding: 2px; position:fixed; right:0px; bottom:120px" onclick="javascript:scroll(0,0)">
		<i class="icon-arrow-up"></i>
	</div>
	
	<div class="container-fluid">
		<div class="row-fluid">
		
			<!-- Header -->
			<div class="span12">
				<div class="well" style="padding: 7px; min-height:560px">
					<div class="tabbable tabs-left">
						<ul id="navigation" class="nav nav-tabs pull-left">
							<li>
								<label id="countdown"></label>
							</li>
							<li>
								<div id="userinfo" style="display: block;">	<div class="mb_10">
		<a href="http://120.77.82.93/senior/#users/2019%E6%B7%B1%E5%9C%B3%E9%AB%98%E7%BA%A7%E8%91%A3%E9%91%AB" id="username">
			<div style="text-align:center; padding:3px; margin: 0 auto" class="well">
				<img src="%0AB0lEQVRogU16yXJc2ZGlT/e9F/OEiQQ4ZjLHSqnKrFr/0YNU6q420791b1SLtl601arNqvY1SMpM%0AkkoSSDKTIEHMCEQAEfHeve7eixukehOLACLC373ux4+f4/jP//x/ESlpLMsqBEkxpZQIUSSIMCKa%0AGTEjABIREzg4YBEKMxMRZjZzZmJmd0dEQBBmjRGJkcjdEQkAAAARAdBMicjd8ysAmBkiAriZObg7%0AuJmI5D+pKiHmGADA3IWZVVVE3EzV3F1YyqqM9UooqKmmqJqIOVDQpIAQY2IiIgKAlCKzmBsamJm5%0AEnGKjatKUbghAAiLmRERABEBIrg7gH+IWBERANwcARFRTf9yBAAiQkRuhoSm5maC7mAGxGqmTZ2S%0AhiBQg0hoUgR3QEwpkYOZq2pVVYRYNytmYU0ACAhuZsTuRsxm5mZg2tSromyZmUICQDMzS+7mDiKM%0ASEQ5ekBEUwNwIvpw6uDuZmZmzJzfNPN8Y2RmamopBREiMlUASEljjDFGNVc1cHAzVTWzerVSVXBI%0AKebPppTcPaUIiClGTcndABEAkyYHMDN3dXckzD+PSDlVEDEH5+BI+f7BzcCdmT9G7+5m6h+ilpii%0AmZma2YJFiqJwA2JydwcEd3NHRCJCIgQARHdvYkQkQhfhpm6QMIgAADGDOyEQkgMwMQA4gLkzuqkj%0AEhGpKjMjOgDk012HaprjVlMHz3WEiPmY8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OQFFAAHBFPNE4apERNLgLVShrlb%0AqSkT829+/Z8z4cwjMWFeEcCiKJGQmBEJskj4wcHL+WOqKTUbG5OyLIejkZkubhfEOBqNb25vVW0+%0An5nbw0cPRaRVtdqtdhGKEEREJIS10ehGTADgqrmEcod3X6/R5OQmoiABgETEwfAffv8/RYK5uXkT%0AmxCC20fczq6aM8uHpQc2syIUzFLXK9WoqiEUSJS9eHNj4qIorqfTpq5b3U5ZlpINAPfYNLnhZ7GU%0AhDN3RYC805D97OzgxxiJee21rLdY1ktP6yYJa+YlTAwEaplC5cAzc2AiJER1j7FR1fwk5nXSRIbZ%0AlQYAQ61XKyLqD/rI7A5qqlHzRPzhU5i/3329MgMAmmy9RKaaTfy1xuKQE/r/c2yJ6rrOjhMhIWKM%0ADazpG/Paf4DMewAwSPjg5ymAC4tayqWZfa1su0gQMyMktRRCkY1bM8vpmxVodFA3cANAhQTgvF6p%0AUWbJDi8hRo0IAEBu68mDzAzBhRnBU4rL5SJHGZtGNWXqnJcGTDXGmHStKOdEB3Bm4cw5kHQ9GKR6%0AtTKz1XIJDqbqsPa2cb2QJcwCsPbhmdncTS3GhIAISIhulmJsmgYBzTzzmbx8IaqJs9IKaE0DCGoW%0AQghFAe71asnMFqMhOQIACIamqd2dhc0sfzvzh3UqB8o/CVavliwFIGZEypWlmnIaqSogEkJM+sE9%0AgtwrWD6uDPl6DYeZiVKMa6MIWQAxpgjuoSjqunZPKaWq1Za86KaaVAHMEZjY8koBeGwaJARaXxFk%0AR9VzSigASlECYh5V6APjUXcAy6eLAGbrhbvs5QMTEDpgTDHvsqSUwNA9tdudQsTM0OH/ATdEZtHl%0AqSB5AAAAAElFTkSuQmCC">
			</div>
			<div style="text-align:center; margin: 3px auto 0">
				<span class="label label-info">2019深圳高级董鑫</span>
			</div>
		</a>
		<div style="text-align:center; margin-top:3px">
			<a href="http://120.77.82.93/senior/#misc/mailbox" style="text-decoration: none">
				<i class="icon-envelope"></i>
				<span class="badge badge-important" id="unread_mail_count" style="padding: 1px 4px"></span>
			</a>
			<a id="setting" href="http://120.77.82.93/senior/#users/2019%E6%B7%B1%E5%9C%B3%E9%AB%98%E7%BA%A7%E8%91%A3%E9%91%AB/settings" style="text-decoration: none">
				<i class="icon-cog" style="margin-left: 3px"></i>
			</a>
			<a id="logout" href="javascript:void(0)" style="text-decoration: none">
				<i class="icon-off" style="margin-left: 3px"></i>
			</a>
		</div>
	</div>
</div>
								<div class="clearfix"></div>
							</li>
							<li class="nav_bar" id="nav_home"><a href="http://120.77.82.93/senior/#main/home">Home</a></li>
							<li class="nav_bar" id="nav_problemset"><a href="http://120.77.82.93/senior/#main/problemset">ProblemSet</a></li>
							<li class="nav_bar" id="nav_status"><a href="http://120.77.82.93/senior/#main/status">Status</a></li>
							<li class="nav_bar active" id="nav_contest">
								<a href="http://120.77.82.93/senior/#contest">Contest									<span class="badge badge-important" id="running_contest_count" style="padding: 1px 4px"></span>
								</a>
							</li>
							<li class="nav_bar" id="nav_task"><a href="http://120.77.82.93/senior/#task/task_list">Task</a></li>
							<li class="nav_bar" id="nav_group"><a href="http://120.77.82.93/senior/#group/group_list">Groups</a></li>
							<li class="nav_bar" id="nav_ranklist"><a href="http://120.77.82.93/senior/#main/ranklist">Ranklist</a></li>
							<li class="nav_bar" id="nav_custom_test"><a href="http://120.77.82.93/senior/#customtest/run">CustomTest</a></li>
							<li id="nav_admin" class="dropdown">
								<a href="http://120.77.82.93/senior/#" class="dropdown-toggle" data-toggle="dropdown">Administer<b class="caret"></b></a>
								<ul class="dropdown-menu" style="top:auto; bottom:100%">
									<li class="nav_bar"><a href="http://120.77.82.93/senior/#admin/problemset">ProblemSet</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/contestlist">Contest</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/task_list">Task</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/users">User</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/setallowings">Manage Viewing Permissions</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/statistic">Statistic</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/rejudge">Rejudge</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/manage_tags">Manage Tags</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/items">Manage Items</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/orders">Manage Orders</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/functions">Miscellaneous</a></li>
									<li class="nav_bar nav_admin" style="display:none"><a href="http://120.77.82.93/senior/#admin/global_settings">Global Settings</a></li>
								</ul>
							</li>
						</ul>
						
						<div id="page_content" class="tab-content" style="float: none; display: block;"><div class="navbar">
	<div class="navbar-inner">
		<ul class="nav">
			<li><a href="http://120.77.82.93/senior/#contest"><i class="icon-arrow-left"></i></a></li>
			<li><a href="http://120.77.82.93/senior/#contest/home/2820">Home</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/problems/2820">Problem</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/declaration_list/2820">Declaration							</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/status/2820">Status</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/standing/2820">Standing</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/statistic/2820">Statistic</a></li>
			<li><a href="http://120.77.82.93/senior/#contest/forum/2820">Forum</a></li>
		</ul>
	</div>
</div>
<div class="row-fluid">
	<div id="header"><div style="text-align:center"><h2>2643. 六边形 <sub>(Standard IO)</sub></h2><div>Time Limits: <span class="badge badge-info">100 ms</span> &nbsp;Memory Limits: <span class="badge badge-info">262144 KB</span> &nbsp;Detailed Limits&nbsp; <a href="http://120.77.82.93/senior/#main/limits/2643" style="text-align:left"><span id="trigger" data-original-title="" title=""><i class="icon-chevron-down"></i></span></a></div><span id="time-remaining"></span><a href="http://120.77.82.93/senior/#main/show/2643">Goto ProblemSet</a></div></div>
</div>


<div class="row-fluid" style="margin-top:7px">
	<div id="mainbar">
		<div class="problem">
			<div class="span12 well"><fieldset>
				<legend><h4>Description</h4></legend>
				<div class="content"><p>棋盘是由许多个六边形构成的，共有5种不同的六边形编号为1到5，棋盘的生成规<br><br>
则如下：<br><br>
1.从中心的一个六边形开始，逆时针向外生成一个个六边形。<br><br>
2.对于刚生成的一个六边形，我们要确定它的种类，它的种类必须满足与已生成的相<br><br>
邻的六边形不同。<br><br>
3.如果有多个种类可以选，我们选择出现次数最少的种类。<br><br>
4.情况3下还有多个种类可以选，我们选择数字编号最小的。<br><br>
现在要你求第N个生成的六边形的编号？<br><br>
前14个六边形生成图如下：</p><br>
<p><img width="554" height="372" alt="" src=""></p></div>
			</fieldset></div>
			<div class="clearfix"></div>
			
			<div>
				<div class="span6 well"><fieldset>
					<legend><h4>Input</h4></legend>
					<div class="content"><p>第一行：T，表示数据组数<br><br>
接下来T行，每行一个数:N,表示第N个六边形</p></div>
				</fieldset></div>
			
				<div class="span6 well"><fieldset>
					<legend><h4>Output</h4></legend>
					<div class="content"><p>共t行，每行一个数，表示第N个数据的答案</p></div>
				</fieldset></div>
			</div>
			<div class="clearfix"></div>
			
			<div>
				<div class="span6 well"><fieldset>
					<legend><h4>Sample Input</h4></legend>
					<div class="content"><pre style="border:none;font-size:110%">4 
1 
4 
10 
100 </pre></div> <!-- nl2br not needed in pre -->
				</fieldset></div>
			
				<div class="span6 well"><fieldset>
					<legend><h4>Sample Output</h4></legend>
					<div class="content"><pre style="border:none;font-size:110%">1 
4 
5 
5 </pre></div>
				</fieldset></div>
			</div>
			<div class="clearfix"></div>
		
			<div class="well"><fieldset>
				<legend><h4>Data Constraint</h4></legend>
				<div class="content"></div>
			</fieldset></div>
			<div class="clearfix"></div>
			
							<div class="well"><fieldset>
					<legend><h4>Hint</h4></legend>
					<div class="content"><p>100%数据满足<br><br>
1&lt;=T&lt;=20</p><br>
<p>1&lt;=N&lt;=10000<br><br>
30%数据满足<br><br>
1&lt;=N&lt;=100</p></div>
				</fieldset></div>
					</div>
	</div>
</div>

<div style="text-align:center"></div>




</div>
						
						<div class="clearfix"></div>
					</div>
					
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
		
		<div class="clearfix"></div>
		
		<!-- footer -->
		<div class="row-fluid">
			<div class="span12" id="copyleft">
				<label id="server_time">Server time: Fri Aug 02 2019 19:02:23 GMT+0800 (中国标准时间)</label>
				<a href="https://github.com/roastduck/fortuna-oj" target="_blank">Fortuna OJ 项目</a><br>
				Author: <a href="https://github.com/moreD" target="_blank">moreD</a>, <a href="https://github.com/roastduck" target="_blank">RD</a>;
				Collaborator: <a href="https://github.com/tarawa" target="_blank">twilight</a>, <a href="https://github.com/mchobbylong" target="_blank">McHobby</a><br>
				Powered by CodeIgniter / Bootstrap<br>
				Icons provided by <a href="http://glyphicons.com/">Glyphicons</a><br>
							</div>
		</div>
		
		<script type="text/javascript">
			delta = 1000 * 1564743230 - $.now();

			setInterval("$('#server_time').html('Server time: ' + (new Date($.now() + delta).toString()));", 1000);

			//var remain = (new Date("2013/5/18,8:00:00").getTime() - new Date(timer).getTime());
			//setInterval("$('#countdown').html('Time to GDOI:<br/><p style=\"text-align:center\">' + Math.floor(remain / (1000 * 86400)) + ' Days</p>'); remain += 1000;", 1000);
			
			var browser = navigator.userAgent;
			$('#scroll_tip').affix();
			load_userinfo(); var logged_in = true;			
			var hash = window.location.hash;
			if (hash.indexOf('main/problemset') != -1) $('#nav_problemset').addClass('active');
			else if (hash.indexOf('main/status') != -1) $('#nav_status').addClass('active');
			else if (hash.indexOf('task') != -1) $('#nav_task').addClass('active');
			else if (hash.indexOf('group') != -1) $('#nav_group').addClass('active');
			else if (hash.indexOf('contest') != -1) $('#nav_contest').addClass('active');
			else if (hash.indexOf('main/ranklist') != -1) $('#nav_ranklist').addClass('active');
			else if (hash.indexOf('main/customtest') != -1) $('#nav_custom_test').addClass('active');
			else if (hash.indexOf('main/home') != -1) $('#nav_home').addClass('active');
			else if (hash.indexOf('admin') != -1) $('#nav_admin').addClass('active');
		</script>
	</div>
	
	<div class="overlay" style="z-index: -1000; display: none; opacity: 0;"></div>



</body></html>